package com.sharainy.pojo;

public class Meter {
    private String id;
    private int protocolnumber;
    private String protocolTypeName;
    private int protocoltype;
    private int subentrytype;
    private String subentryTypeName;
    private String position;
    private int companyid;
    private String remark;
    /*private int state;*/
    private int status;

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getProtocolnumber() {
        return protocolnumber;
    }

    public void setProtocolnumber(int protocolnumber) {
        this.protocolnumber = protocolnumber;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    /*public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }*/

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getProtocolTypeName() {
        return protocolTypeName;
    }

    public void setProtocolTypeName(String protocolTypeName) {
        this.protocolTypeName = protocolTypeName;
    }

    public int getProtocoltype() {
        return protocoltype;
    }

    public void setProtocoltype(int protocoltype) {
        this.protocoltype = protocoltype;
    }

    public int getSubentrytype() {
        return subentrytype;
    }

    public void setSubentrytype(int subentrytype) {
        this.subentrytype = subentrytype;
    }


    public int getCompanyid() {
        return companyid;
    }

    public void setCompanyid(int companyid) {
        this.companyid = companyid;
    }

    public String getSubentryTypeName() {
        return subentryTypeName;
    }

    public void setSubentryTypeName(String subentryTypeName) {
        this.subentryTypeName = subentryTypeName;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Meter{");
        sb.append("id='").append(id).append('\'');
        sb.append(", protocolnumber=").append(protocolnumber);
        sb.append(", protocolTypeName='").append(protocolTypeName).append('\'');
        sb.append(", protocoltype=").append(protocoltype);
        sb.append(", subentrytype=").append(subentrytype);
        sb.append(", subentryTypeName='").append(subentryTypeName).append('\'');
        sb.append(", position='").append(position).append('\'');
        sb.append(", companyid=").append(companyid);
        sb.append(", remark='").append(remark).append('\'');
        /*sb.append(", state=").append(state);*/
        sb.append(", status=").append(status);
        sb.append('}');
        return sb.toString();
    }
}
